package com.learn.design.abstractfactory.adapter;

import com.learn.design.abstractfactory.service.ICacheService;

import java.util.concurrent.TimeUnit;

/**
 * @author xuhainan
 * @date 2023/8/1 16:44
 * @region hefei
 */
public interface ICacheAdapter extends ICacheService {
    String get(String key);

    void set(String key, String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);
}
